SRCS = main.c list.c
OBJS = $(SRCS:.c=.o)
TGT = main
CFLAGS+= -Wall

$(TGT):$(OBJS)
	@$(CC) $^ -o $@

clean:
	$(RM) main.o list.o $(TGT)

.PHONY:clean
